package eventx

var (
	keyToHandler = map[string]Handler{}
)

func RegisterHandler(handlers map[string]Handler) {
	for key, val := range handlers {
		keyToHandler[key] = val
	}
}

func DisposeHandler() {
	keyToHandler = map[string]Handler{}
}
